package com.jackson0714.common.exception;

import com.netflix.hystrix.exception.HystrixBadRequestException;

/**
  * @Description:feign 请求异常
  * @Version v1.0.0
  * @author zhangpeng148
  * @date 2022/1/21 15:41
  */
public class FeignBadRequestException extends HystrixBadRequestException {

    private Object code;

    public FeignBadRequestException(Object code, Object msg){
        super(msg.toString());
        this.code=code;
    }

    public Object getCode() {
        return code;
    }

    public void setCode(Object code) {
        this.code = code;
    }
}
